/**
 * @projectName study_java
 * @package Memento
 * @className Memento.UserRoleMemento
 */
package Memento;

import lombok.Data;

/**
 * UserRoleMemento
 * @description 用户角色备份
 * @author answer_wx
 * @date 2022/6/29 18:10
 * @version 1.0
 */
@Data
public class UserRoleMemento {
    /**
     * 需备份的角色属性
     */
    private int healthValue;
    private int magicValue;

    public UserRoleMemento(int healthValue, int magicValue) {
        this.healthValue = healthValue;
        this.magicValue = magicValue;
    }
}